Related Vulnerabilities: CVE-2021-4009  

A security issue has been found in X.Org before version 21.1.2. The handler for the CreatePointerBarrier request of the XFixes extension does not properly validate the request length leading to out of bounds memory write. This can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for SSH X forwarding sessions.

Severity High

Remote Yes

Type Arbitrary code execution

Description

A security issue has been found in X.Org before version 21.1.2. The handler for the CreatePointerBarrier request of the XFixes extension does not properly validate the request length leading to out of bounds memory write. This can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for SSH X forwarding sessions.

AVG-2636 xorg-server 21.1.1-3 High Vulnerable

https://lists.x.org/archives/xorg-announce/2021-December/003122.html
https://gitlab.freedesktop.org/xorg/xserver/-/commit/b5196750099ae6ae582e1f46bd0a6dad29550e02